package com.tanhua.dubbo.api;

import com.tanhua.domain.db.BlackList;

import java.util.List;

public interface BlackListApi {
    //删除黑名单
    void deleteBlackUser(long userId, Long blackUserId);

    List<BlackList> findBlack(long userId);
    /**
     * 当前用户添加黑名单
     * @param userId
     */
    void addBlacklist(Long userId, String blackId);
}
